package com.example.demo.service;

import com.example.demo.pojo.User;
import com.github.pagehelper.Page;

import java.util.List;

public interface AfterUserService {
    int deleteByPrimaryKey(Integer userid);

    //新增用户
    int insert(User record);

    int updateByPrimaryKey(User record);

    Page<User> getAll(Integer pageNum,Integer pageSize);
}
